home *** CD-ROM | disk | FTP | other *** search
/ Clickx 35 / Clickx 35.iso / assets / software / EC Architect / Acrobat / Data1.cab / PictureTasks.api / EXVW / 103 next >
Encoding:
Text File  |  2003-11-03  |  5.8 KB  |  142 lines

  1. gWidth = max(
  2.     zstring_width(zstring: '$$$/Dialogs/PrintDialog/Index'),
  3.     zstring_width(zstring: '$$$/Dialogs/PrintDialog/Wallet'));
  4. gPreviewHeight = 130;
  5. gPreviewWidth = 160;
  6. gClusterHeight = gPreviewHeight + 32;
  7. gPLabelWidth = zstring_width(zstring: '$$$/Dialogs/PrintDialog/PaperLabel');
  8. gPaperTextWidth = 200;
  9. gBarHeight = 30;
  10.  
  11. dialog(name: '$$$/Dialogs/PrintDialog', target_id: 'pset')
  12. {
  13.     view(align_children: align_right)
  14.     {
  15.         user_item(item_id: 'stgb', width: gPreviewWidth + gMarginWidth, height: gBarHeight);
  16.         view(align_children: align_top, alignment: align_fill)
  17.         {            
  18.             group(name: '$$$/Dialogs/PrintDialog/PrintOptionsGroup', align_children: align_left, width: 100, height: gClusterHeight)
  19.             {
  20.                 cluster(name: '$$$/Dialogs/PrintDialog/PrinterSetup', align_children: align_left)
  21.                 {
  22.                     view(align_children: align_row)
  23.                     {    
  24.                         picture(item_id: 'picn', width: 24, height: 24, vertical: align_center);                        
  25.                         static_text(item_id: 'prtr', name: '$$$/Dialogs/PrintDialog/UseEachPhoto', width: gPaperTextWidth, vertical: align_center);                                                                    
  26.                     }    
  27.  
  28.                     view(align_children: align_row)
  29.                     {
  30.                         static_text(item_id: 'papl', name: '$$$/Dialogs/PrintDialog/PaperLabel', width: gPLabelWidth);                        
  31.                         static_text(item_id: 'pprd', name: '$$$/Dialogs/PrintDialog/PaperLabel', width: gPaperTextWidth);                        
  32.                     }
  33.  
  34.                     button(item_id: 'pset', name: '$$$/Dialogs/PrintDialog/ChangeSettings', picture: false, next_tab: 'ftpg', alignment: align_right);                                        
  35.                 }
  36.                 cluster(item_id: 'grpa', name: '$$$/Dialogs/PrintDialog/PrintSizes', align_children: align_left)
  37.                 {
  38.                     view (align_children: align_row)
  39.                     {
  40.                         radio(item_id: 'ftpg', width: 5);
  41.                         picture(item_id: 'pftp', width: 19, height: 22);
  42.                         static_text(name: '$$$/Dialogs/PrintDialog/Fitonpage');
  43.                     }                    
  44.                     view (align_children: align_row)
  45.                     {
  46.                         radio(item_id: 'epic', width: 0);
  47.                         picture(item_id: 'pepi', width: 19, height: 22);
  48.                         static_text(name: '$$$/Dialogs/PrintDialog/Eightbyten');
  49.                     }
  50.                     view (align_children: align_row)
  51.                     {
  52.                         radio(item_id: 'vpic', width: 0);
  53.                         picture(item_id: 'pvpi', width: 19, height: 22);
  54.                         static_text(name: '$$$/Dialogs/PrintDialog/Fivebyseven');
  55.                     }
  56.                     view (align_children: align_row)
  57.                     {
  58.                         radio(item_id: 'fpic', width: 0);
  59.                         picture(item_id: 'pfpi', width: 19, height: 22);
  60.                         static_text(name: '$$$/Dialogs/PrintDialog/Fourbysix');
  61.                     }
  62.                     view (align_children: align_row)
  63.                     {
  64.                         radio(item_id: 'tpic', width: 0);
  65.                         picture(item_id: 'ptpi', width: 19, height: 22);
  66.                         static_text(name: '$$$/Dialogs/PrintDialog/Threebyfive');
  67.                     }
  68.                     view (align_children: align_row)
  69.                     {
  70.                         radio(item_id: 'wpic', width: 0);
  71.                         picture(item_id: 'pwpi', width: 19, height: 22);
  72.                         static_text(name: '$$$/Dialogs/PrintDialog/Wallet');
  73.                     }                                                                                                                                                                
  74.                     view (align_children: align_row)
  75.                     {
  76.                         radio(item_id: 'conb', width: 0);
  77.                         picture(item_id: 'conp', width: 19, height: 22);
  78.                         static_text(name: '$$$/Dialogs/PrintDialog/ContactSheet');
  79.                     }                                
  80.                     view (align_children: align_row)
  81.                     {
  82.                         radio(item_id: 'pkgr', width: 0);
  83.                         picture(item_id: 'ppkg', width: 20, height: 15);
  84.                         static_text(name: '$$$/Dialogs/PrintDialog/PicturePackage');
  85.                         button(item_id: 'epkg', name: '$$$/Dialogs/PrintDialog/EditPackage', picture: false, next_tab: 'cppp', alignment: align_right);                                        
  86.                     }                                                                                                                                                                
  87.                 }                
  88.             }
  89.             cluster(item_id: 'grpc', name: '$$$/Dialogs/PrintDialog/ClusterNameTwo', align_children: align_center, height: gClusterHeight)
  90.             {
  91.                 view(align_children: align_row)
  92.                 {
  93.                     button(item_id: 'wicn', picture: true, width: 12, height: 12);
  94.                     static_text(item_id: 'warn', name: '$$$/Dialogs/PrintDialog/UseEachPhoto', width: 200, height: 40);
  95.                 }
  96.  
  97.                 gap(height: 2);
  98.  
  99.                 view(align_children: align_center)
  100.                 {
  101.                     picture(item_id: 'slhr', width: 200, height: gPreviewHeight * 2 + 25);
  102.                 }
  103.                 gap(height: 23);
  104.                 view(align_children: align_row)
  105.                 {
  106.                     button(item_id: 'prpg', name: '$$$/Dialogs/PrintDialog/PrevPage', picture: true, next_tab: 'nxpg', alignment: align_left, width: 20, height: 20);    
  107.                     static_text(item_id: 'pgnb', name: '$$$/Dialogs/PrintDialog/PageNo', width: 100, alignment: align_center);        
  108.                     button(item_id: 'nxpg', name: '$$$/Dialogs/PrintDialog/NextPage', picture: true, next_tab: 'prvs', alignment: align_right, width: 20, height: 20);            
  109.                 }
  110.             }
  111.           view(align_children: align_left, alignment: align_fill, vertical: align_fill)
  112.           {            
  113.               cluster(name: '$$$/Dialogs/PrintDialog/IndvPrintFormat', align_children: align_left)
  114.               {
  115.                   group(align_children: align_left)
  116.                   {                        
  117.                       view(align_children: align_row)
  118.                       {
  119.                           static_text(name: '$$$/Dialogs/PrintDialog/UseEachPhoto');
  120.                           edit_text(item_id: 'cppp', width: 30);
  121.                           static_text(name: '$$$/Dialogs/PrintDialog/NumTimes');
  122.                       }
  123.                       check_box(item_id: 'sgim', name: '$$$/Dialogs/PrintDialog/SingleImage');
  124.                       check_box(item_id: 'zmcr', name: '$$$/Dialogs/PrintDialog/ZoomCrop');                        
  125.                   }
  126.               }
  127.               cluster(item_id: 'grpb', name: '$$$/Dialogs/PrintDialog/ContactSheetOptions', align_children: align_left, vertical: align_fill)
  128.               {
  129.                 check_box(item_id: 'cscp', name: '$$$/Dialogs/PrintDialog/CSOptionCaption');
  130.                 check_box(item_id: 'csfn', name: '$$$/Dialogs/PrintDialog/CSOptionFilename');
  131.                 check_box(item_id: 'csdt', name: '$$$/Dialogs/PrintDialog/CSOptionDate');
  132.               }
  133.       }
  134.         }
  135.         view(align_children: align_row)
  136.         {
  137.             button(item_id: 'prvs', name: '$$$/Dialogs/PrintDialog/Previous', picture: false, next_tab: 'pset', alignment: align_right);
  138.             ok_cancel(ok_name: '$$$/Dialogs/PrintDialog/Next');
  139.         }
  140.     }
  141. }
  142.